package com.xiegang.apiboss.service;

import com.xiegang.apiboss.remote.ServiceDriverUserClient;
import com.xiegang.internalcommon.dto.Car;
import com.xiegang.internalcommon.dto.ResponseResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author xieGang
 * @description
 * @date 2023/3/31 19:30
 **/
@Service
public class CarService {

    @Autowired
    private ServiceDriverUserClient serviceDriverUserClient;


    public ResponseResult addCar(Car car){
        serviceDriverUserClient.addCar(car);
        return ResponseResult.success();
    }
}
